
 /**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017, chinazyjr All Rights Reserved.
 */
package com.sys.kafka.demos.level1;

import java.io.Serializable;

/**
 * <b>Description：</b> TODO <br/>
 * <b>ClassName：</b> User <br/>
 * <b>@author：</b> mobing <br/>
 * <b>@date：</b> 2017年7月13日 上午10:20:31 <br/>
 * <b>@version: </b>  <br/>
 */
public class User  implements Serializable{

    /**
     * serialVersionUID:TODO
     */
    
    private static final long serialVersionUID = 1L;

    private String userId;
    
    private String userName;
    
    public User(){}
    
    public User(String userId,String userName){
        this.userId = userId;
        this.userName =userName;
    }

    /**
     * userId
     *
     * @return  the userId
     */
    
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * userName
     *
     * @return  the userName
     */
    
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "userName:"+this.userName+"userid:"+this.userId;
    }
    
    
}
